
<%@ page contentType="text/html;charset=GBK" pageEncoding="GBK" %>
<html>
<head>
  <meta http-equiv="content-type" content="text/html";charset="GBK">
    <title>PersonJSP</title>
</head>
<body>
<jsp:useBean id="person" class="sample.Person" scope="page">
</jsp:useBean>
<div>
  <ul>
    <li>
      ����:<jsp:getProperty property="name" name="person"/>
    </li>
    <li>
      �Ա�:<jsp:getProperty property="sex" name="person"/>
    </li>
    <li>
      ����:<jsp:getProperty property="age" name="person"/>
    </li>
    <li>
      �ѻ�:<jsp:getProperty property="married" name="person"/>
    </li>
  </ul>
</div>
</body>
</html>
